import request from "@/utils/request"

// 新增检查表
export function postUnitAdd(data) {
  return request({
    url: "/unit/add",
    method: "post",
    data
  })
}

export function postUnitUpdate(data) {
  return request({
    url: "/unit/update",
    method: "put",
    data
  })
}

export function getList(data) {
  return request({
    url: "/unit/list",
    method: "post",
    data
  })
}

export function postUnitDel(data) {
  return request({
    url: "/unit/delete",
    method: "delete",
    data
  })
}

